import Vue from 'vue';
import Vuex from 'vuex';
import ModuleA from './moduleA';

Vue.use(Vuex);

const actions = {};

const mutations = {};

const state = {
  sum: 0,
  realName: '张三',
  age: 19
};

const store = new Vuex.Store({
  actions,
  mutations,
  state,
  modules: {
    ModuleA
  },
  getters: {}
});

export default store;
